package com.firebird.app.fekpsl.mvp.me

import com.firebird.app.fekpsl.base.IModel
import com.firebird.app.fekpsl.base.IPresenter
import com.firebird.app.fekpsl.base.IView
import com.firebird.app.fekpsl.bean.HttpResult
import io.reactivex.Observable

/**
 * Created by chenxz on 2018/6/3.
 */
interface AreaContract {

    interface View : IView {

        fun updateAreaSuccess(success: Boolean)
    }

    interface Presenter : IPresenter<View> {

        fun updateArea(userUuid: String, area: String)

    }

    interface Model : IModel {
        fun updateArea(userUuid: String, area: String): Observable<HttpResult<Any>>
    }

}